xfi:fact-typed-dimension-value

element(xbrldi:typedMember)?=xfi:fact-typed-dimension-value( $item as schema-element(xbrli:item), $dimension as xs:QName)

Last updated on 27-02-2008 at 00:00:00.

Returns the child element of the segment or scenario that contains the typed dimension value if there is a value for the dimension in either the segment or scenario of the item and returns the empty sequence otherwise.

OIM Status

Unsupported

Parameters

Name Type Details
item schema-element(xbrli:item) The item that the dimension value is required for.
dimension xs:QName The QName of the dimension that the value is required for.

Output

Type: element(xbrldi:typedMember)?

Returns the child element of the segment or scenario that contains the typed dimension value if there is a value for the dimension in either the segment or scenario of the item and returns the empty sequence otherwise. The data type of the child and its descendant elements have the appropriate type based on the Post Schema Validation Infoset.

Errors

Code Details
xfie:invalidTypedDimensionQName This error MUST be thrown the dimension does not specify an typed dimension in the reference discoverable taxonomy set.

Conformance suite

90310 xfi.fact-typed-dimension-value testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Geoff Shuetrim Galexy geoff@galexy.net 05-02-2008 at 00:00:00
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 01-09-2008 at 00:00:00

Revisions

Name On Details
Geoff Shuetrim 27-02-2008 at 10:54:00 Created the function definition.
Herm Fischer 01-09-2008 at 00:00:00 Made the function segment/scenario agnostic, renamed without segment/scenario in name.
Geoff Shuetrim 13-11-2008 at 00:00:00 Removed the xfie:invalidDimensionForFact error code because any such problems are expected to be detected by pre-processing validation of the instance containing the fact.
Herm Fischer 05-12-2008 at 00:00:00 Added data type sentence.